/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-02-26
 * Time: 22:33
 */

public class Test {
   /* public static void main8(String[] args) {
        Date yy = new Date();
        yy.printDatesame();
    }*/

    /*public static void main7(String[] args) {
        Date y = new Date();
        y.printDatesame();//这里直接打印出来就是  0/0/0
    }*/

    /*public static void main6(String[] args) {
        Date y = new Date();
        Date y2 = new Date(2024,1,1);
        y.printDatesame();
        y2.printDatesame();
    }*/

    //这里我们就需要对象的构造方法
    /*public static void main5(String[] args) {
        Date d = new Date(2024,1,1);
        d.printDatesame();
    }*/

    /*public static void main4(String[] args) {
        Date d = new Date();
        d.printDatesame();//这里要关注的点是为什么字段没有进行初始化但是可以进行运用
        d.setDaySame(2024,1,1);
        d.printDatesame();
    }*/

    /*public static void main3(String[] args) {
        int a;
        System.out.println(a);//未对局部变量进行初始化
    }*/

   /* public static void main2(String[] args) {

        Date day1 = new Date();
        Date day2 = new Date();
        Date day3 = new Date();
        day1.setDaySame(2024,1,1);
        day2.setDaySame(2024,1,2);
        day3.setDaySame(2024,1,3);

        day1.printDatesame();
        day2.printDatesame();
        day3.printDatesame();
    }*/

    /*public static void main1(String[] args) {
        Date date1 = new Date();
        Date date2 = new Date();
        Date date3 = new Date();
        date1.setDay(2024,2,24);
        date2.setDay(2024,2,25);
        date3.setDay(2024,2,26);

        date1.printDate();
        date2.printDate();
        date3.printDate();
    }*/


}
